package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * 银行流水记录实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinaFow {
    private int id;
    private Date date;//'录入时间',
    private String credential; //凭证号/默认为0',
    private String summary;//'这笔录入的摘要',
    private String transfer;//'转入/转出',
    private BigDecimal transferIn; //'转入金额/借方发生额',
    private BigDecimal transferOut;//转出/贷方发生额',
    private String text;//对于这笔流水录入的备注',
    private int accountId;//使用的银行账户的id',
    private String type;//这个流水记录对应的类型，现金/流水
    private  FinaAccount finaAccount ;//银行账户实体类
}
